package com.bst.bsj.bops.web.biz;

import java.util.List;
import java.util.Map;

import com.bst.bsj.common.dal.dataobject.SeedlingModelParams;
import com.homewaimai.common.lang.Result;

public interface SeedlingModelParamsService {

  /*
   * 分页查询
   */
  public Result query(Map paramMap);
  
  /*
   * 根据ID查询对象
   */
  public SeedlingModelParams getSeedlingModelParams(Long id);
  
  /*
   * 根据id集合查询所有对象
   */
  public List<SeedlingModelParams> selectNamesAll(String ids);
  /*
   *查询所有对象
   */
  public List<SeedlingModelParams> getAll();

  /*
   *更新审核状态
   */
  public int update(SeedlingModelParams seedlingModelParams);
  
  
  /*
   *增加
   */
  public void insert(SeedlingModelParams seedlingModelParams);
  
  
  /*
   *删除
   */
  public int delete(Long id);

  /*
   * 判断参数名是否重复
   */
  public SeedlingModelParams getExsit(String name);
}
